const controller = require("../controllers/food.server.controller");
var express = require('express');
var router = express.Router();

// router.get("/", controller.getAllSuggestion);
//获取food路由，包括两个路由，若请求参数中存在mId参数，则为获取指定商家的所有菜品，否则为ws请求上头条foodlist
router.get("/",controller.getFoods);
module.exports = router;

